package dfbz.homework1;

public class Test10 {
    public static void main(String[] args) {
        int arr[]={12,33,25,6,16};
        System.out.println(getMin(arr));
    }
    public static int getMin(int[] arr){
        int min=arr[0];
        for (int i = 0; i <arr.length ; i++) {
            if(arr[i]<min){
                min=arr[i];
            }
        }
        return min;
    }

}
